Emmanuele Bassi [Wed, 2 Dec 2020 15:09:32 +0000 (15:09 +0000)]
Remove gtk-doc annotation from private symbols
Keep the documentation, just tweak it so that gtk-doc won't try to find
the declarations of these private symbols.
Matthias Clasen [Wed, 2 Dec 2020 18:38:14 +0000 (18:38 +0000)]
Merge branch 'wip/chergert/gdk-macos-for-master' into 'master'
macos: fix window stacking
See merge request GNOME/gtk!2907
Christian Hergert [Wed, 2 Dec 2020 18:20:07 +0000 (10:20 -0800)]
macos: place above transient-for when presenting
We need to re-attach to the transient-for window whenever we present or
we risk getting placed behind the window by the display server. Apparently
that setting does not persist across a hide of the NSWindow.
Christian Hergert [Wed, 2 Dec 2020 18:15:43 +0000 (10:15 -0800)]
macos: specify a window level for surfaces
Matthias Clasen [Wed, 2 Dec 2020 15:57:39 +0000 (15:57 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!2905
Bilal Elmoussaoui [Tue, 24 Nov 2020 20:41:18 +0000 (21:41 +0100)]
StringList: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:32:48 +0000 (18:32 +0100)]
Shortcut: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:18:47 +0000 (18:18 +0100)]
StringFilter: get_search fix nullable annotation
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:15:38 +0000 (18:15 +0100)]
Text: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:08:31 +0000 (18:08 +0100)]
TextView: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:04:34 +0000 (18:04 +0100)]
TreeModel: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 16:57:32 +0000 (17:57 +0100)]
TreeView: add missing nullability annotations
Matthias Clasen [Wed, 2 Dec 2020 15:08:58 +0000 (10:08 -0500)]
widget: Add a missing nullability annotation
Matthias Clasen [Wed, 2 Dec 2020 15:06:01 +0000 (10:06 -0500)]
Clarify the docs for gtk_widget_class_set_css_name
Reword, and mention the default css name.
Bilal Elmoussaoui [Tue, 24 Nov 2020 16:35:46 +0000 (17:35 +0100)]
window: default_icon_name can be null
Emmanuele Bassi [Wed, 2 Dec 2020 13:40:25 +0000 (13:40 +0000)]
Merge branch 'ebassi/for-master' into 'master'
Various documentation fixes
See merge request GNOME/gtk!2900
Daniel Mustieles [Wed, 2 Dec 2020 12:54:32 +0000 (13:54 +0100)]
Updated Spanish translation
Daniel Mustieles [Wed, 2 Dec 2020 08:26:08 +0000 (09:26 +0100)]
Updated Spanish translation
Emmanuele Bassi [Wed, 2 Dec 2020 01:14:30 +0000 (01:14 +0000)]
Merge branch 'wip/chergert/gdk-macos-for-master' into 'master'
macos: various macos improvements for GTK 4
See merge request GNOME/gtk!2902
Christian Hergert [Wed, 2 Dec 2020 00:24:15 +0000 (16:24 -0800)]
macos: use Cairo renderer by default
Until the GL renderer is working on macOS OpenGL, we need to default
to the Cairo renderer.
Christian Hergert [Thu, 26 Nov 2020 19:18:10 +0000 (11:18 -0800)]
macos: glFlush() when switching GL contexts
The Mac OpenGL programming guide suggests that you glFlush() before changing
contexts to ensure that the commands have been submitted.
Christian Hergert [Tue, 24 Nov 2020 20:39:19 +0000 (12:39 -0800)]
macos: treat some toplevel NSWindow like document windows
This makes the window animate in by the window manager like other
application windows on macOS. Currently ignored for transient windows.
Emmanuele Bassi [Tue, 1 Dec 2020 18:03:31 +0000 (18:03 +0000)]
docs: Ignore generated Wayland protocol file
Emmanuele Bassi [Tue, 1 Dec 2020 18:01:33 +0000 (18:01 +0000)]
docs: Ignore more private files
Emmanuele Bassi [Tue, 1 Dec 2020 17:28:16 +0000 (17:28 +0000)]
docs: Annotate missing symbols
Emmanuele Bassi [Tue, 1 Dec 2020 17:26:34 +0000 (17:26 +0000)]
Use the appropriate prefix for GtkBuilderClosureFlags
Facilitate the job of glib-mkenums, and ensure that the enumeration
nicknames are computed reliably.
Emmanuele Bassi [Tue, 1 Dec 2020 17:21:45 +0000 (17:21 +0000)]
docs: Annotate GtkBuildableParser
Emmanuele Bassi [Tue, 1 Dec 2020 17:18:38 +0000 (17:18 +0000)]
docs: Hide GtkBitsetIter fields
Emmanuele Bassi [Tue, 1 Dec 2020 17:18:23 +0000 (17:18 +0000)]
docs: Annotate GtkAssistant::escape action signal
Emmanuele Bassi [Tue, 1 Dec 2020 17:16:05 +0000 (17:16 +0000)]
docs: Annotate GtkAppChooserButton::changed
Emmanuele Bassi [Tue, 1 Dec 2020 15:21:44 +0000 (15:21 +0000)]
docs: Ignore more files
Emmanuele Bassi [Tue, 1 Dec 2020 15:04:09 +0000 (15:04 +0000)]
docs: Add missing annotations for GtkTextTagTable
Emmanuele Bassi [Tue, 1 Dec 2020 14:45:01 +0000 (14:45 +0000)]
Make GtkCenterLayout accessors more idiomatic
Add argument validation, and emit a layout-changed signal whenever the
start, center, and end widgets change.
Emmanuele Bassi [Tue, 1 Dec 2020 14:44:28 +0000 (14:44 +0000)]
docs: Fix annotations in GtkCenterLayout
Missing ':' separator.
Emmanuele Bassi [Tue, 1 Dec 2020 14:17:59 +0000 (14:17 +0000)]
docs: Annotate GskRenderer
Emmanuele Bassi [Tue, 1 Dec 2020 14:16:45 +0000 (14:16 +0000)]
docs: Annotate the GL shader objects
Emmanuele Bassi [Tue, 1 Dec 2020 14:16:28 +0000 (14:16 +0000)]
docs: Annotate all render node types
Emmanuele Bassi [Tue, 1 Dec 2020 14:01:02 +0000 (14:01 +0000)]
docs: Annotate structure types used by GskRenderNodes
Emmanuele Bassi [Tue, 1 Dec 2020 13:50:25 +0000 (13:50 +0000)]
docs: Annotate GdkDeviceTool
Emmanuele Bassi [Tue, 1 Dec 2020 13:48:07 +0000 (13:48 +0000)]
docs: Annotate GdkGLTexture
Emmanuele Bassi [Tue, 1 Dec 2020 13:47:56 +0000 (13:47 +0000)]
docs: Annotate GdkMemoryTexture
Emmanuele Bassi [Tue, 1 Dec 2020 13:44:51 +0000 (13:44 +0000)]
docs: Annotate GdkPaintable
The dummy typedef needs a gtk-doc stanza, and the interface
documentation needs to be slightly clarified.
Emmanuele Bassi [Tue, 1 Dec 2020 13:42:07 +0000 (13:42 +0000)]
docs: Annotate GdkPopup
Emmanuele Bassi [Tue, 1 Dec 2020 13:41:28 +0000 (13:41 +0000)]
docs: Annotate GdkSnapshot
Emmanuele Bassi [Tue, 1 Dec 2020 13:39:48 +0000 (13:39 +0000)]
docs: Annotate the GdkToplevel interface
Emmanuele Bassi [Tue, 1 Dec 2020 13:38:33 +0000 (13:38 +0000)]
docs: Fix typo in the GdkTolevelLayout annotation
Emmanuele Bassi [Tue, 1 Dec 2020 13:38:12 +0000 (13:38 +0000)]
docs: Annotate the GdkContentProviderClass structure
Emmanuele Bassi [Tue, 1 Dec 2020 13:37:59 +0000 (13:37 +0000)]
docs: Ignore more private headers
Matthias Clasen [Tue, 1 Dec 2020 04:43:44 +0000 (23:43 -0500)]
Merge branch 'sophie-h/gtk-nullables-2'
Merge Sophie's nullable annotations, with some documentation
fixups on top.
Matthias Clasen [Tue, 1 Dec 2020 04:40:03 +0000 (23:40 -0500)]
columnviewcolumn: Improve docs
Mention what setting sorter to NULL means.
Matthias Clasen [Tue, 1 Dec 2020 04:36:23 +0000 (23:36 -0500)]
centerlayout: Improve docs
Explain what passing NULL does.
Jordi Mas [Mon, 30 Nov 2020 21:35:47 +0000 (22:35 +0100)]
Update Catalan translation
Matthias Clasen [Mon, 30 Nov 2020 21:14:28 +0000 (21:14 +0000)]
Merge branch 'arnaudb/annotate-set-title' into 'master'
Add "nullable" annotation.
See merge request GNOME/gtk!2895
Matthias Clasen [Mon, 30 Nov 2020 19:00:26 +0000 (14:00 -0500)]
NEWS: Updates
Matthias Clasen [Mon, 30 Nov 2020 17:55:27 +0000 (17:55 +0000)]
Merge branch 'master' into 'master'
broadway: make header name parsing case-insensitve
Closes #3406
See merge request GNOME/gtk!2894
Matthias Clasen [Mon, 30 Nov 2020 17:44:30 +0000 (17:44 +0000)]
Apply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Mon, 30 Nov 2020 17:42:39 +0000 (17:42 +0000)]
Apply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Mon, 30 Nov 2020 15:49:25 +0000 (15:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
build: Use link_whole for linking our convenience libs
See merge request GNOME/gtk!2899
Matthias Clasen [Mon, 30 Nov 2020 14:53:46 +0000 (09:53 -0500)]
build: Use link_whole for linking our convenience libs
Without this, we lose exported symbols from e.g. libgsk
that are not used elsewhere in the code.
Matthias Clasen [Mon, 30 Nov 2020 14:44:15 +0000 (14:44 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3364
See merge request GNOME/gtk!2898
Timm Bäder [Sun, 29 Nov 2020 08:49:08 +0000 (09:49 +0100)]
modelbutton: Reset active menu item on pointer leave
We don't want to leave an active menu item behind if the pointer doesn't
enter another menu item.
This matches the old GtkMenu behavior
Timm Bäder [Sun, 29 Nov 2020 08:42:18 +0000 (09:42 +0100)]
popovermenu: Connect to right controller signal
leave is emitted before the new contains-pointer value is set, so the
signal handler wasn't working right.
Timm Bäder [Sun, 29 Nov 2020 08:25:46 +0000 (09:25 +0100)]
eventcontrollermotion: Notify by pspec
Timm Bäder [Sun, 29 Nov 2020 07:41:44 +0000 (08:41 +0100)]
popovermenu: Pull variable declaration in closest scope
Timm Bäder [Thu, 19 Nov 2020 15:27:48 +0000 (16:27 +0100)]
shortcutcontroller: Separate trigger/action early returns
We take this early return in update_accel over 36k times when starting
the widget factory and always because the action is not a named action.
Timm Bäder [Thu, 19 Nov 2020 14:57:09 +0000 (15:57 +0100)]
shortcutcontroller: Pass the muxer to update_accel()
We only needed the widget to get its action muxer. And this way we don't
have to call gtk_widget_get_action_muxer() dozens of times, just once in
set_widget().
Timm Bäder [Thu, 19 Nov 2020 14:53:05 +0000 (15:53 +0100)]
shortcutcontroller: Use priv->shortcuts directly in set_widget()
Instead of treating the shortcut controller itself as a GListModel,
which just passes everything along from priv->shortcuts.
Timm Bäder [Thu, 19 Nov 2020 14:27:25 +0000 (15:27 +0100)]
shortcutcontroller: Save signal handler ID
gtk_shortcut_controller_finalize() used to take ~13.8% when closing the
complex listbox demo in gtk4-demo. Now it takes nothing.
Timm Bäder [Thu, 19 Nov 2020 11:00:40 +0000 (12:00 +0100)]
widget: root child before emitting child observer signals
Try to avoid the childen_observer signal handlers screwing up internal
state.
Fixes #3364
Timm Bäder [Sun, 15 Nov 2020 18:14:25 +0000 (19:14 +0100)]
widgetprivate: Remove unused function
Timm Bäder [Tue, 3 Nov 2020 08:18:37 +0000 (09:18 +0100)]
gl renderer: Make minimal rounded rects more minimal
Matthias Clasen [Wed, 25 Nov 2020 19:49:21 +0000 (14:49 -0500)]
docs: Ignore more generated Wayland protocol headers
These inject mysterious words like Airbrush, Lense and
Mouse into the list of undocumented apis. No need for that.
Matthias Clasen [Wed, 25 Nov 2020 19:32:23 +0000 (14:32 -0500)]
gsk: doc fixups
Matthias Clasen [Mon, 30 Nov 2020 14:09:03 +0000 (14:09 +0000)]
Merge branch 'ebassi/cell-renderer-get-size' into 'master'
Remove GtkCellRendererClass.get_size()
See merge request GNOME/gtk!2896
Emmanuele Bassi [Mon, 30 Nov 2020 13:10:25 +0000 (13:10 +0000)]
Merge branch 'ebassi/for-master' into 'master'
Blend nodes might have NULL top/bottom nodes
See merge request GNOME/gtk!2891
Piotr Drąg [Sun, 29 Nov 2020 11:11:26 +0000 (12:11 +0100)]
Update Polish translation
Yuri Chornoivan [Sun, 29 Nov 2020 07:53:56 +0000 (07:53 +0000)]
Update Ukrainian translation
Emmanuele Bassi [Sat, 28 Nov 2020 19:19:27 +0000 (19:19 +0000)]
Remove GtkCellRendererClass.get_size()
The get_size() vfuncs is deprecated in GTK3, and only used as a
fallback path for cell renderers that do not implement preferred
size virtual functions.
Emmanuele Bassi [Sat, 28 Nov 2020 19:18:55 +0000 (19:18 +0000)]
Port CellRendererGraph to preferred size vfuncs
Drop use of GtkCellRendererClass.get_size()
Emmanuele Bassi [Sat, 28 Nov 2020 18:48:58 +0000 (18:48 +0000)]
Port GtkCellRendererProgress to preferred size vfuncs
Drop the use of GtkCellRendererClass.get_size()
Emmanuele Bassi [Sat, 28 Nov 2020 18:37:09 +0000 (18:37 +0000)]
Port GtkCellRendererToggle to preferred size vfuncs
Drop the use of GtkCellRendererClass.get_size()
Emmanuele Bassi [Sat, 28 Nov 2020 18:36:28 +0000 (18:36 +0000)]
Port GtkCellRendererSpinner to preferred size vfuncs
Drop the use of GtkCellRendererClass.get_size()
Emmanuele Bassi [Sat, 28 Nov 2020 18:35:54 +0000 (18:35 +0000)]
Port GtkCellRendererPixbuf to preferred size vfuncs
Drop the GtkCellRendererClass.get_size() override.
Аляксей [Sat, 28 Nov 2020 14:30:43 +0000 (14:30 +0000)]
Update Belarusian translation
Arnaud Bonatti [Fri, 27 Nov 2020 14:57:55 +0000 (15:57 +0100)]
Add "nullable" annotation.
Jakub Steiner [Fri, 27 Nov 2020 18:14:09 +0000 (18:14 +0000)]
Merge branch 'wip/jimmac/dark-prelights' into 'master'
wip/jimmac/dark prelights
Closes #3380
See merge request GNOME/gtk!2892
Jakub Steiner [Fri, 20 Nov 2020 10:26:13 +0000 (11:26 +0100)]
Adwaita,HC: use dark prelights
- increase :hover visibility by going darker rather than lighter
puppies died.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3380
Anders Jonsson [Fri, 27 Nov 2020 13:35:03 +0000 (13:35 +0000)]
Update Swedish translation
Anders Jonsson [Fri, 27 Nov 2020 13:31:30 +0000 (13:31 +0000)]
Update Swedish translation
Benjamin Beichler [Fri, 27 Nov 2020 10:34:09 +0000 (11:34 +0100)]
broadway: make header name parsing case-insensitve
since http RFC state that the header names should be processed case in-sensitive, broadway should not rely on the actual case. E.g. the go-language libraries tend to rewrite the header, which cause problems with e.g. Caddy
Fixes #3406
Emmanuele Bassi [Thu, 26 Nov 2020 00:21:11 +0000 (00:21 +0000)]
Blend nodes might have NULL top/bottom nodes
We have code in place to handle a NULL node in the state when dealing
with blend nodes, but we don't always check for NULL, which leads to
warnings in the CSS Blend modes demo.
Matthias Clasen [Wed, 25 Nov 2020 18:59:16 +0000 (13:59 -0500)]
popover: Fix a typo
s/Wether/Whether/
Fixes #3393
Emmanuele Bassi [Wed, 25 Nov 2020 18:43:53 +0000 (18:43 +0000)]
Merge branch 'ebassi/for-master' into 'master'
Ebassi/for master
Closes #3404 and #3403
See merge request GNOME/gtk!2890
Emmanuele Bassi [Wed, 25 Nov 2020 18:15:04 +0000 (18:15 +0000)]
a11y: Check before disconnecting Text signals
Use the same initial check for the accessible object type that we use
when connecting the signal, in case we try to disconnect signals on
different widgets. Additionally, check before accessing data that might
have already been removed.
Fixes: #3403
Emmanuele Bassi [Wed, 25 Nov 2020 18:13:54 +0000 (18:13 +0000)]
a11y: Check before disconnecting selection signals
If the selection data has already been cleared we should just bail out.
Fixes: #3404
Jakub Steiner [Wed, 25 Nov 2020 13:42:55 +0000 (13:42 +0000)]
Merge branch 'wip/jimmac/menus-darker' into 'master'
Adwaita: darker selected menuitem + sidebars
Closes #3390
See merge request GNOME/gtk!2881
Jordi Mas i Hernandez [Wed, 25 Nov 2020 13:42:11 +0000 (13:42 +0000)]
Update Catalan translation
Jakub Steiner [Mon, 23 Nov 2020 14:46:44 +0000 (15:46 +0100)]
Adwaita: darker selected menuitem + sidebars
- without sacrificing the fg/bg contrast too much, increase
selected item visibility
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3390
Sophie Herold [Tue, 24 Nov 2020 18:27:33 +0000 (19:27 +0100)]
Fix some nullable return annotations 2
Matthias Clasen [Tue, 24 Nov 2020 17:14:53 +0000 (17:14 +0000)]
Merge branch 'wip/chergert/for-master' into 'master'
textview: fix precondition assertions
Closes #3386
See merge request GNOME/gtk!2886